﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace BDShop.Configuration
{
    public class CacheElement : ConfigurationElement
    {
        [ConfigurationProperty("CacheProduct")]
        public int CacheProduct
        {
            get { return (int)this["CacheProduct"]; }
        }

        [ConfigurationProperty("CacheConfig")]
        public int CacheConfig
        {
            get { return (int)this["CacheConfig"]; }
        }

        [ConfigurationProperty("CacheSlider")]
        public int CacheSlider
        {
            get { return (int)this["CacheSlider"]; }
        }

        [ConfigurationProperty("CacheProductCategory")]
        public int CacheProductCategory
        {
            get { return (int)this["CacheProductCategory"]; }
        }

        [ConfigurationProperty("CacheConstant")]
        public int CacheConstant
        {
            get { return (int)this["CacheConstant"]; }
        }

        [ConfigurationProperty("CacheCategory")]
        public int CacheCategory
        {
            get { return (int)this["CacheCategory"]; }
        }

        [ConfigurationProperty("CacheTag")]
        public int CacheTag
        {
            get { return (int)this["CacheTag"]; }
        }

        [ConfigurationProperty("CacheSupplier")]
        public int CacheSupplier
        {
            get { return (int)this["CacheSupplier"]; }
        }

        [ConfigurationProperty("CacheBrand")]
        public int CacheBrand
        {
            get { return (int)this["CacheBrand"]; }
        }
    }
}
